#!/bin/bash

DIR=$1

./bkdtree/datagen -ia $DIR/16k.txt -o 16k.stream
./bkdtree/datagen -ia $DIR/100k.txt -o 100k.stream
./bkdtree/datagen -ia $DIR/250k.txt -o 250k.stream
./bkdtree/datagen -ia $DIR/500k.txt -o 500k.stream
./bkdtree/datagen -ia $DIR/1M.txt -o 1M.stream
./bkdtree/datagen -ia $DIR/2M.txt -o 2M.stream
./bkdtree/datagen -ia $DIR/4M.txt -o 4M.stream
./bkdtree/datagen -ia $DIR/8M.txt -o 8M.stream
